package com.lyf.util;

import com.lyf.pojo.Employee;
import com.lyf.pojo.Information;

public class JsonUtil {

	public static String getInfoContent(Employee e,Information info,String desc){
		String content = "<blockquote><ul style='list-style-type: none;margin-left: 0px;'>"+
						 	"<li>" + e.getUsername() + desc + "" + info.getI_content() +
								"<span class=\"pull-right\">" + info.getI_createTime() + 
									"<input type=\"hidden\" value='"+ info.getId() +"' class=\"i_id\"/>"+
									"<a href=\"javascript:;\" onclick=\"delinfo(this)\" id='" + info.getId() + "'>" +
										"<i class=\"icon-trash\"></i>"+
									"</a>"+
								"</span>"+
							"</li>"+
						 "</ul></blockquote>";
		return content;
	}
	
}
